/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.gamecenter.sdk.login.plugin.accountBind.a;

import android.content.Context;
import com.qihoo.gamecenter.sdk.common.i.s;
import com.qihoo.gamecenter.sdk.login.plugin.h.e;
import com.qihoo.gamecenter.sdk.login.plugin.h.f;
import com.qihoo.gamecenter.sdk.login.plugin.h.g;
import java.util.HashMap;
import java.util.Map;

public class a {
    public static String a(Context paramContext, String paramString1, String paramString2, String paramString3) {
        e.a("BindUtils", "account = " + paramString1);
        e.a("BindUtils", "smscode = " + paramString2);
        e.a("BindUtils", "qid = " + paramString3);
        HashMap localHashMap = new HashMap();
        localHashMap.put("account", paramString1);
        localHashMap.put("type", "2");
        localHashMap.put("smscode", paramString2);
        localHashMap.put("qid", paramString3);
        localHashMap.put("method", "CommonAccount.accountBind");
        int i = s.q(paramContext);
        return com.qihoo.gamecenter.sdk.common.e.a.a(localHashMap, i);
    }

    public static void a(Context paramContext, boolean paramBoolean) {
        g.a(paramContext, "gamecenter_sdk_plugin_key_refuse_bind", paramBoolean);
    }

    public static boolean a(Context paramContext) {
        return g.f(paramContext, "gamecenter_sdk_plugin_key_refuse_bind");
    }

    public static boolean a(Context paramContext, String paramString) {
        return g.f(paramContext, paramString);
    }

    public static void a(Context paramContext, String paramString, boolean paramBoolean) {
        g.a(paramContext, paramString, paramBoolean);
    }

    public static String b(Context paramContext, String paramString) {
        HashMap localHashMap = new HashMap();
        localHashMap.put("method", "CommonAccount.checkSmsOpRes");
        localHashMap.put("op", "BDSJ");
        localHashMap.put("randCode", paramString);
        int i = s.q(paramContext);
        String str = com.qihoo.gamecenter.sdk.common.e.a.a(localHashMap, i);
        e.a("BindUtils", new Object[] { "Gen Check sms bind Url: " + str });
        return str;
    }

    public static String b(Context paramContext) {
        return f.g();
    }
}